package spzx.service;

import com.atguigu.spzx.model.dto.product.CategoryBrandDto;
import com.atguigu.spzx.model.entity.product.CategoryBrand;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import java.util.List;


public interface CategoryBrandService {

    PageInfo findByPage(Integer pageNum, Integer pageSize, CategoryBrandDto categoryBrandDto);

    void addCategoryBrand(CategoryBrand categoryBrand);

    List<Long> findCategoryIds(Long category3Id);

    void updateCategoryBrand(CategoryBrand categoryBrand);

    void deleteById(Long id);
}
